@paddingLeft: 24px; // was 24
@paddingTop: 20px;
@paddingRight: 24px;
@paddingBottom: 20px;

.carousel-wrapper {
  :global {
    .ant-carousel {
      width: 100%;

      .slick-list {
        height: 100%;
      }

      .slick-track {
        height: 100%;
      }
      .slick-slider {
        .slick-arrow {
          position: absolute !important;
          display: block !important;
          //background: gray;
          width: @paddingLeft;
          top: 10px;
          height: 100%;
          z-index: 1000;
          cursor: pointer;

          //&:hover {
          //background: rgba(0, 0, 0, 0.8);
          // }

          &.slick-prev {
            left: 0px;
            &::before {
              content: '❰';
            }
          }

          &.slick-next {
            right: 0px;
            &::before {
              content: '❱';
            }
          }

          &::before {
            color: white;
            font-size: 20px;
            opacity: 1;
            line-height: 1;
          }
        }

        .slick-dots-bottom {
          bottom: -25px;
        }
        .slick-dots {
          li {
            button {
              background: rgb(255, 255, 255);
              opacity: 0.3;
            }
            &.slick-active button {
              opacity: 1;
              background: var(--teal);
            }
          }
        }
      }
    }
  }
}

.slide-wrapper {
  padding-left: @paddingLeft;
  padding-right: @paddingRight;
}

.content-wrapper {
  height: 160px;
  background-color: #2e383e;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.language-difference {
  position: relative;
  font-family: 'Luckiest Guy', serif;
  font-size: 24px;
  border-radius: 5px;
  width: 50%;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px;
  text-overflow: ellipsis;
  height: 50px;
  display: block;
  text-align: center;
  color: white;
}

.language-correct {
  border: 1px solid;
  border-color: #128079;
  background: rgba(155, 255, 160, 0.06);
}

.language-false {
  border: 1px solid;
  border-color: #b14334;
  background: rgba(234, 50, 35, 0.06);
}

.game-mode-image-wrapper {
  position: relative;
  flex: 1;
  height: 60px;
  border-radius: 3px;
  overflow: hidden;
}

.game-mode-image-wrapper::before {
  content: '';
  border-style: solid;
  border-width: 2px;
  border-color: #ffffff29;
  border-radius: 3px;
  position: absolute;
  width: 100%;
  height: 100%;
}

.game-mode-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-rules {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.overlay-rule-image-wrapper {
  height: 82px;
  position: relative;
  border-width: 2px;
  border-radius: 3px;
  overflow: hidden;
}

.issue-text {
  position: absolute;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #b14334;
  background-color: #b143347e;
  border-radius: 3px;
  color: white;
  padding: 0 4px;
}

.slide-title-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 6px;

  a {
    font-weight: 400;
    text-decoration: underline;
    opacity: 0.7;
  }
  a:hover {
    opacity: 0.8;
    text-decoration: underline;
  }
}
